<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Optimist Racing: ItemData Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Optimist Racing
   &#160;<span id="projectnumber">0.1</span>
   </div>
   <div id="projectbrief">A video game where you must literally keep your head up</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_item_data.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_item_data-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ItemData Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_data_8hpp_source.html">Data.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ItemData:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_item_data.png" usemap="#ItemData_map" alt=""/>
  <map id="ItemData_map" name="ItemData_map">
<area href="class_generic_data.html" alt="GenericData" shape="rect" coords="0,0,83,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0e5968ac45fac4dee76ea9f75f7752cc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_item_data.html#a0e5968ac45fac4dee76ea9f75f7752cc">ItemData</a> (std::string filename)</td></tr>
<tr class="separator:a0e5968ac45fac4dee76ea9f75f7752cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a1b6240b016a82fa65b450f98a35f6c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_item_data.html#a3a1b6240b016a82fa65b450f98a35f6c">ItemData</a> ()</td></tr>
<tr class="separator:a3a1b6240b016a82fa65b450f98a35f6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae155bfaeaa7badb8611595593d88f050"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_item_data.html#ae155bfaeaa7badb8611595593d88f050">~ItemData</a> ()</td></tr>
<tr class="separator:ae155bfaeaa7badb8611595593d88f050"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c0fd620ea4f6043558b80330f8bf51c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_item_data.html#a7c0fd620ea4f6043558b80330f8bf51c">initializeDefault</a> ()</td></tr>
<tr class="separator:a7c0fd620ea4f6043558b80330f8bf51c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4cfa6f95e0662498d3df0f23c8127d4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_item_data.html#ab4cfa6f95e0662498d3df0f23c8127d4">deleteArrays</a> ()</td></tr>
<tr class="separator:ab4cfa6f95e0662498d3df0f23c8127d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff74199fbef4ff9f8b06c186173e69ea"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_item_data.html#aff74199fbef4ff9f8b06c186173e69ea">write</a> (std::ostream &amp;out) const </td></tr>
<tr class="separator:aff74199fbef4ff9f8b06c186173e69ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71b90a70f427ee1d2417f3f0c7302c9e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_item_data.html#a71b90a70f427ee1d2417f3f0c7302c9e">read</a> (std::istream &amp;in)</td></tr>
<tr class="separator:a71b90a70f427ee1d2417f3f0c7302c9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_generic_data"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_generic_data')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_generic_data.html">GenericData</a></td></tr>
<tr class="memitem:a53d266970be68cd208cabbf1b029b96b inherit pub_methods_class_generic_data"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_generic_data.html#a53d266970be68cd208cabbf1b029b96b">GenericData</a> ()</td></tr>
<tr class="separator:a53d266970be68cd208cabbf1b029b96b inherit pub_methods_class_generic_data"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ab691aa9487309b2c4d9f5a0be19464 inherit pub_methods_class_generic_data"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_generic_data.html#a9ab691aa9487309b2c4d9f5a0be19464">~GenericData</a> ()</td></tr>
<tr class="separator:a9ab691aa9487309b2c4d9f5a0be19464 inherit pub_methods_class_generic_data"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2b2fb8564b784d61b99ab4f7fd95dc2 inherit pub_methods_class_generic_data"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_generic_data.html#ab2b2fb8564b784d61b99ab4f7fd95dc2">writeFile</a> (const std::string filepath) const </td></tr>
<tr class="separator:ab2b2fb8564b784d61b99ab4f7fd95dc2 inherit pub_methods_class_generic_data"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d833405e216a292dc0655692df370e1 inherit pub_methods_class_generic_data"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_generic_data.html#a7d833405e216a292dc0655692df370e1">readFile</a> (const std::string filepath)</td></tr>
<tr class="separator:a7d833405e216a292dc0655692df370e1 inherit pub_methods_class_generic_data"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ad34492f2bef4ac472141c8c2f49a4453"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_item_data.html#ad34492f2bef4ac472141c8c2f49a4453">mPainterNum</a></td></tr>
<tr class="separator:ad34492f2bef4ac472141c8c2f49a4453"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a143e1354591086a1eccfa88a88142d80"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector3_d.html">Vector3D</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_item_data.html#a143e1354591086a1eccfa88a88142d80">mPainterPositions</a></td></tr>
<tr class="separator:a143e1354591086a1eccfa88a88142d80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96be973680b6a94519f07a7a660fd6f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_electric_colour_8hpp.html#a1979e84576b59c4d100d8a8cc41de734">E_ELECTRICCOLOUR</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_item_data.html#a96be973680b6a94519f07a7a660fd6f6">mPainterColours</a></td></tr>
<tr class="separator:a96be973680b6a94519f07a7a660fd6f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44cc64e866c902fb5999e3169b440372"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_item_data.html#a44cc64e866c902fb5999e3169b440372">mPainterRadius</a></td></tr>
<tr class="separator:a44cc64e866c902fb5999e3169b440372"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33649729ff05366dc714a903eafe7e47"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector3_d.html">Vector3D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_item_data.html#a33649729ff05366dc714a903eafe7e47">mEndPosition</a></td></tr>
<tr class="separator:a33649729ff05366dc714a903eafe7e47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ba449b337e0596bd1401d6318cc1b8e"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_item_data.html#a0ba449b337e0596bd1401d6318cc1b8e">mEndRadius</a></td></tr>
<tr class="separator:a0ba449b337e0596bd1401d6318cc1b8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0e5968ac45fac4dee76ea9f75f7752cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ItemData::ItemData </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a3a1b6240b016a82fa65b450f98a35f6c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ItemData::ItemData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ae155bfaeaa7badb8611595593d88f050"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ItemData::~ItemData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab4cfa6f95e0662498d3df0f23c8127d4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ItemData::deleteArrays </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a7c0fd620ea4f6043558b80330f8bf51c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ItemData::initializeDefault </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a71b90a70f427ee1d2417f3f0c7302c9e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ItemData::read </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_generic_data.html#a71e231ef04c9a91a3429123dab5bd1e7">GenericData</a>.</p>

</div>
</div>
<a class="anchor" id="aff74199fbef4ff9f8b06c186173e69ea"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ItemData::write </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>out</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_generic_data.html#a93ea61de5b09cf3fc95564ef3d841214">GenericData</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a33649729ff05366dc714a903eafe7e47"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vector3_d.html">Vector3D</a> ItemData::mEndPosition</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a0ba449b337e0596bd1401d6318cc1b8e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double ItemData::mEndRadius</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a96be973680b6a94519f07a7a660fd6f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_electric_colour_8hpp.html#a1979e84576b59c4d100d8a8cc41de734">E_ELECTRICCOLOUR</a>* ItemData::mPainterColours</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad34492f2bef4ac472141c8c2f49a4453"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ItemData::mPainterNum</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a143e1354591086a1eccfa88a88142d80"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vector3_d.html">Vector3D</a>* ItemData::mPainterPositions</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a44cc64e866c902fb5999e3169b440372"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double ItemData::mPainterRadius</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/Users/Owner/My Programming/Personal Projects/VideoGames/Optimist Racing/src/<a class="el" href="_data_8hpp_source.html">Data.hpp</a></li>
<li>C:/Users/Owner/My Programming/Personal Projects/VideoGames/Optimist Racing/src/<a class="el" href="_data_8cpp.html">Data.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_item_data.html">ItemData</a></li>
    <li class="footer">Generated on Sun Oct 28 2012 13:14:39 for Optimist Racing by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.2 </li>
  </ul>
</div>
</body>
</html>
